<template>
  <div class="container">
    <div class="nodeTitle clearfix">
      <div class="bigTitle fl">{{title}}</div>
      <div class="litterTitle fl">{{subTitle}}</div>
      <div class="more fr" v-if="showMore"><a :href="moreHref">更多>></a></div>
    </div>
    <div class="content clearfix">
      <slot></slot>
    </div>
  </div>
</template>

<script>
  export default {
    name: "container",
    props: {
      title: String,
      subTitle: String,
      showMore: Boolean,
      moreHref: String
    },
    data() {
      return {}
    }
  }
</script>

<style scoped>

</style>
